if(_root.game.alloy.airborn != "y" and _root.harp == 1 and _root.harpooned == null and _root.harpx > xx - ww and _root.harpx < xx + ww and _root.harpy > yy - hh - 16 and _root.harpy < yy + 16)
{
_root.harpooned = "_root.game." + _name;
ani1 = "";
airborn = "y";
_root.harppp = 1;
ai = "off";
hitz = 1;
}
if(_root.projectile != null)
{
_root.projectile_time = 3;
}
if(_root.desperation == "y" and _root.game.alloy._y > yy - hh and _root.game.alloy._y < yy + 100 and gravity >= 0)
{
if(_root.game.alloy._x < xx and _root.game.alloy._x + 85 > xx - ww)
{
health -= 20;
xm = 25;
combotime = 3;
gravity = -32 + random(15);
airborn = "y";
_Y = _Y - 11;
this.dir.ani.gotoAndStop("hit");
ai = "off";
hitz = 1;
}
else if(_root.game.alloy._x > xx and _root.game.alloy._x - 85 < xx + ww)
if(_root.projectile != _name and _root.projectile != null and _root.projectilex > xx - ww and _root.projectilex < xx + ww and _root.projectiley > yy - hh and _root.projectiley < yy)